A QA Wizard Pro batch file is an executable that includes scripts and any associated datasheets or other called files. Batch files can be used to schedule groups of scripts to run unattended for a shorter, more thorough testing cycle. You can also use batch files to execute regression test suites as part of a nightly build process.
Batch files can include any files from the same workspace except other batch files.
Tip: If a script in a batch file performs actions that require logging in to an application first, add a script to the batch file that logs in to the application before other scripts in the batch run.
1. Choose Batch > New Batch.
The Batch dialog box opens.
2. Click Add Scripts to add scripts to the batch.
The Select Scripts dialog box opens.
3. Select the scripts to include in the batch and click
to add them to the Selected scripts list.
To remove a script, select it in Selected scripts list and click
.
To reorder the selected scripts, click
,
,
, or
. Scripts run in the order displayed. You can also reorder scripts in the Batch dialog box before saving the batch file.
4. Click OK.
The selected scripts are displayed in the Scripts folder on the Batch dialog box.
Note: If a script in the batch calls a script or datasheet using a text string parameter, or has a data source associated with it, the script or datasheet is automatically included in the batch. If variables or other expressions are used to access other scripts or datasheets, you must add the additional files to the batch to make them available when the batch runs.
5. To include other files from the workspace in the batch, click Add Additional Files. Adding the files to the batch prevents scripts that need access to other files from failing when the batch runs.
For example, you can add a datasheet called using a variable or a text file used to log data to the batch.
The Select Files dialog box opens.
6. Select the files to include in the batch and click
to add them to the Selected files list
To remove a file, select it in Selected files list and click
.
7. Click OK.
The selected files are displayed in the Additional Files folder on the Batch dialog box.
8. Select a script and click Top, Move Up, Move Down, or Bottom to reorder the list. Scripts run in the order displayed.
9. If a Helix ALM connection is configured for the workspace, select Automatically submit issues to Helix ALM to add an issue for each failed script.
10. Click Save As.
The Save As dialog box opens.
11. Enter a File name, select a Save in location or browse to select a different location, and click Save.
Batch files are saved with a .qawbatch file extension.
12. Click Close when you finish.